﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200113D RID: 4413
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetClientRaidTargetCountCsReq : IMessage<SetClientRaidTargetCountCsReq>, IMessage, IEquatable<SetClientRaidTargetCountCsReq>, IDeepCloneable<SetClientRaidTargetCountCsReq>, IBufferMessage
	{
		// Token: 0x170037E2 RID: 14306
		// (get) Token: 0x0600C582 RID: 50562 RVA: 0x0021597D File Offset: 0x00213B7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetClientRaidTargetCountCsReq> Parser
		{
			get
			{
				return SetClientRaidTargetCountCsReq._parser;
			}
		}

		// Token: 0x170037E3 RID: 14307
		// (get) Token: 0x0600C583 RID: 50563 RVA: 0x00215984 File Offset: 0x00213B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetClientRaidTargetCountCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037E4 RID: 14308
		// (get) Token: 0x0600C584 RID: 50564 RVA: 0x00215996 File Offset: 0x00213B96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetClientRaidTargetCountCsReq.Descriptor;
			}
		}

		// Token: 0x0600C585 RID: 50565 RVA: 0x0021599D File Offset: 0x00213B9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountCsReq()
		{
		}

		// Token: 0x0600C586 RID: 50566 RVA: 0x002159A5 File Offset: 0x00213BA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountCsReq(SetClientRaidTargetCountCsReq other) : this()
		{
			this.dKEPJDPEJKG_ = other.dKEPJDPEJKG_;
			this.progress_ = other.progress_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C587 RID: 50567 RVA: 0x002159D6 File Offset: 0x00213BD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountCsReq Clone()
		{
			return new SetClientRaidTargetCountCsReq(this);
		}

		// Token: 0x170037E5 RID: 14309
		// (get) Token: 0x0600C588 RID: 50568 RVA: 0x002159DE File Offset: 0x00213BDE
		// (set) Token: 0x0600C589 RID: 50569 RVA: 0x002159E6 File Offset: 0x00213BE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DKEPJDPEJKG
		{
			get
			{
				return this.dKEPJDPEJKG_;
			}
			set
			{
				this.dKEPJDPEJKG_ = value;
			}
		}

		// Token: 0x170037E6 RID: 14310
		// (get) Token: 0x0600C58A RID: 50570 RVA: 0x002159EF File Offset: 0x00213BEF
		// (set) Token: 0x0600C58B RID: 50571 RVA: 0x002159F7 File Offset: 0x00213BF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x0600C58C RID: 50572 RVA: 0x00215A00 File Offset: 0x00213C00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetClientRaidTargetCountCsReq);
		}

		// Token: 0x0600C58D RID: 50573 RVA: 0x00215A0E File Offset: 0x00213C0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetClientRaidTargetCountCsReq other)
		{
			return other != null && (other == this || (this.DKEPJDPEJKG == other.DKEPJDPEJKG && this.Progress == other.Progress && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C58E RID: 50574 RVA: 0x00215A4C File Offset: 0x00213C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DKEPJDPEJKG != 0U)
			{
				num ^= this.DKEPJDPEJKG.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C58F RID: 50575 RVA: 0x00215AA4 File Offset: 0x00213CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C590 RID: 50576 RVA: 0x00215AAC File Offset: 0x00213CAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C591 RID: 50577 RVA: 0x00215AB8 File Offset: 0x00213CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Progress != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Progress);
			}
			if (this.DKEPJDPEJKG != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.DKEPJDPEJKG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C592 RID: 50578 RVA: 0x00215B14 File Offset: 0x00213D14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DKEPJDPEJKG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DKEPJDPEJKG);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C593 RID: 50579 RVA: 0x00215B6C File Offset: 0x00213D6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetClientRaidTargetCountCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DKEPJDPEJKG != 0U)
			{
				this.DKEPJDPEJKG = other.DKEPJDPEJKG;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C594 RID: 50580 RVA: 0x00215BBC File Offset: 0x00213DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C595 RID: 50581 RVA: 0x00215BC8 File Offset: 0x00213DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DKEPJDPEJKG = input.ReadUInt32();
					}
				}
				else
				{
					this.Progress = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004F8F RID: 20367
		private static readonly MessageParser<SetClientRaidTargetCountCsReq> _parser = new MessageParser<SetClientRaidTargetCountCsReq>(() => new SetClientRaidTargetCountCsReq());

		// Token: 0x04004F90 RID: 20368
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F91 RID: 20369
		public const int DKEPJDPEJKGFieldNumber = 10;

		// Token: 0x04004F92 RID: 20370
		private uint dKEPJDPEJKG_;

		// Token: 0x04004F93 RID: 20371
		public const int ProgressFieldNumber = 9;

		// Token: 0x04004F94 RID: 20372
		private uint progress_;
	}
}
